/**
 * This file is Copyright © 2008 Software Craftsmen Limited. All Rights Reserved.
 */
package com.softwarecraftsmen.collections.maps;

import org.jetbrains.annotations.NotNull;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.TreeMap;
import java.util.Comparator;

import com.softwarecraftsmen.collections.tuples.Pair;

public interface MapLegacyConversions<K, V>
{
	@NotNull
	HashMap<K, V> toLegacyHashMap();

	@NotNull
	LinkedHashMap<K, V> toLegacyLinkedHashMap();

	@NotNull
	TreeMap<K, V> toLegacyTreeMap();

	@NotNull
	TreeMap<K, V> toLegacyTreeMap(@NotNull final Comparator<? super K> comparator);
}
